package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.SpuInfoEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gulimall-product")
public interface ProductFeignService {

    @GetMapping("/product/spuinfo/getSpuBySkuId")
    SpuInfoEntity getSpuBySkuId(@RequestParam("skuId") Long skuId);

}
